clear all;
clc;

load mnist_test;
load mnist_train;

k = 7;

tic
Yp = knnclass(xL',xU',yL',k);
slt = toc

acc = calacc(Yp,yU')
save(['res/KNNK',int2str(k)],'acc','slt');